<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
{##}
{#{{ num }}#}
{#<br>#}
{#{{ string }}#}
{#<br>#}
{#{{ boo }}#}
{#<br>#}
{#{{ name_list }}#}
{#<br>#}
{#{{ dic.keys }}#}
{##}
{#<br>#}
{#{{ p1 }}#}
{#{{ p1.name }}#}
{#{{ p1.talk }}#}

<h3>过滤器</h3>

<p>{{ qq|default:'nothing' }}</p>
<br>
{{ name_list|slice:'-1::-1' }}

<br>
{{ filesize|filesizeformat }}

<br>
{{ name_list|add:name_list }}

{{ name_list|first }}

<br>
{{ name_list|join:'**' }}
<br>

{#{{ now|date:'Y-m-d H:i:s' }}#}
{{ now }}


{#{{ js|safe }}#}

{{ a }}

<h3>自定义过滤器</h3>

{% load my_tags %}


{{ 'asd'|new_upper:dic }}


</body>
</html>